package com.zyw.zhuangdian.pojo.dto;

import com.zyw.zhuangdian.pojo.Resp;
import com.zyw.zhuangdian.pojo.out.ArticleDtoOut;
import com.zyw.zhuangdian.pojo.out.ProductionDtoOut;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("内容信息")
public class ContentDto extends PageDto{

    @ApiModelProperty("搜索内容")
    private String keyword;
    @ApiModelProperty("产品结果")
    private Resp<List<ArticleDtoOut>> articles;
    @ApiModelProperty("文章结果")
    private Resp<List<ProductionDtoOut>> productions;

}
